package com.lagou.service.Impl;

import com.lagou.dao.CourseDao;
import com.lagou.dao.Impl.CourseDaoImpl;
import com.lagou.pojo.Course;
import com.lagou.service.CourseService;

import java.util.List;

public class CourseServiceImpl implements CourseService {
    @Override
    public List<Course> findCourseList() {
        CourseDao courseDao = new CourseDaoImpl();
        List<Course> courseList = CourseDao.findCourseList();

        return courseList;
    }
}
